package com.snail.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.snail.model.pojo.mall.BizProductReview;
import com.snail.model.vo.mall.ProductReviewVO;

import java.util.List;

public interface IBizProductReviewService extends IService<BizProductReview> {
    /**
     * 根据商品ID查询评论（关联用户信息）
     * @param productId 商品ID
     * @return 评论列表（含用户信息）
     */
    List<ProductReviewVO> getReviewsByProductId(Integer productId);

    boolean markDeletedById(Integer id);
}
